home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / src / tdoslyn2.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  849 b   |  30 lines

  1. //    Copyright (c) 1993, University of Kansas, All Rights Reserved
  2. //
  3. //    Class:        TDosLynx : public TApplication
  4. //    Include File:    TDosLynx.h
  5. //    Purpose:    Implement our application object.
  6. //    Remarks/Portability/Dependencies/Restrictions:
  7. //    Revision History:
  8. //        12-09-93    created
  9. //        02-09-04    Split all members to seperate files to enhance
  10. //                overlay support.
  11. #include"tdoslynx.h"
  12. #include"tcapture.h"
  13. #include<dos.h>
  14. #include<stdlib.h>
  15.  
  16. void TDosLynx::outOfMemory()    {
  17. //    Purpose:    Displays a message indicating low memory
  18. //    Arguments:    void
  19. //    Return Value:   void
  20. //    Remarks/Portability/Dependencies/Restrictions:
  21. //    Revision History:
  22. //        12-14-93    created
  23.  
  24.     doslynxmessage("Not enough memory to complete operation.");
  25.     doslynxmessage("Program Terminating....");
  26.  
  27.     //    Give user time to see message.
  28.     sleep(5);
  29.     exit(1);
  30. }